package com.studyroom.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.studyroom.entity.Notice;

public interface NoticeService {
    IPage<Notice> getNotices(Integer current, Integer size, String title, Integer status);
    
    Notice getNoticeById(Long id);
    
    boolean createNotice(Notice notice);
    
    boolean updateNotice(Notice notice);
    
    boolean deleteNotice(Long id);
    
    boolean publishNotice(Long id);
} 